/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dao;

import entities.CommentEntity;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author vasi
 */
@Local
public interface CommentEntityFacadeLocal {

    void create(CommentEntity commentEntity);

    void edit(CommentEntity commentEntity);

    void remove(CommentEntity commentEntity);

    CommentEntity find(Object id);

    List<CommentEntity> findAll();

    List<CommentEntity> findRange(int[] range);

    int count();

    List<CommentEntity> findAllByContent(Long content_id);

}
